/**
 * Created by zhangsong on 2019/9/22.
 */
import applicationContractor from './application/contractor';
import applicationStaff from './application/staff';
import applicationVehicle from './application/vehicle';
import applicationCommon from './application/common';

const system = {
  // 系统名称
  name: 'P3910 - Pass Office Application',
};

const httpCode = {
  401: '权限不足',
  403: '登录失效,请重新登录',
  404: '页面不存在',
  502: '系统正在维护,请稍后再试',
};

const button = {
  detail: '查看详情',
  remove: '删除',
  update: '修改',
  rollback: '返回',
  save: '保存',
  cancel: '取消',
  close: '关闭',
  clear: '清空',
  preview: '查看 PDF',
  reset: '重置',
  search: '搜索',
  sure: '确认',
  operator: '操作',
  printing: '打印',
  prevPage: '上一页',
  nextPage: '下一页',
  disapproval: '审核不通过',
  approval: '审核通过',
  download: '下载',
  newdownload: '导出资料',
};

const baseInfo = {
  saveSuccess: '保存成功',
  errorTitle: '错误',
  askDeleteRecord: '您确定要删除这条记录吗?',
  removeSuccess: '删除成功',
  all: '全部',
  male: '男',
  female: '女',
  unknown: '未知',
  notFoundPdf: '没有找到 PDF',
  previewPDF: '预览 PDF',
  goToList: '返回列表页面',
  approval: '您确定要审核通过吗',
  disapproval: '您确定要审核不通过吗',
  approvalStatus: '审核通过',
  disapprovalStatus: '审核不通过',
  needApprovalStatus: '待审核',
  approvalStatusName: '审核状态',
  operatorSuccess: '操作成功',
  operatorError: '操作失败',
  placeholder: '请输入',
  placeholderChecked: '请选择',
  createTime: '创建时间',
  updateTime: '修改时间',
  sendsuccess: '发送成功',
  senderror: '发送失败',
  review: 'review',
  noreview: 'revrew不通过',
  needreview: '待review',
  approvehistory: '审核记录',
  actionpeople: '操作人',
  actionstate: '操作状态',
  actiondate: '操作时间',
  serialnumber: '序号',
  enddate: '合同结束日期',
  reasonfail: '失败原因',
  totalnum: '总条数:',
  succnum: '成功条数:',
  errornum: '失败条数:',
};

export default {
  system,
  button,
  baseInfo,
  datetimeFormat: {
    all: 'D/M/YYYY HH:mm:ss',
    date: 'D/M/YYYY',
    time: 'HH:mm',
  },
  httpCode,
  applicationContractor,
  applicationStaff,
  applicationVehicle,
  applicationCommon,
};
